//
//  HBCategoryModel.h
//  HeartBeat
//
//  Created by karong on 2023/8/29.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class HBCategoryItemModel;
@interface HBCategory : NSObject
@property (nonatomic, strong) HBCategoryItemModel * category;
@property (nonatomic, strong) HBCategoryItemModel * word_type;
@property (nonatomic, strong) HBCategoryItemModel * pay_type;
@property (nonatomic, strong) HBCategoryItemModel * finish_type;
@property (nonatomic, assign) NSInteger channelType;
@end

@interface HBCategoryModel : NSObject
@property (nonatomic, strong) NSArray * category;
@property (nonatomic, strong) NSArray * word_type;
@property (nonatomic, strong) NSArray * pay_type;
@property (nonatomic, strong) NSArray * finish_type;
@property (nonatomic, strong) NSArray * sort_type;

@property (nonatomic, assign) CGFloat classesH;
@property (nonatomic, strong) HBCategory * selectCategory;
- (NSArray *)arrayWithSection:(NSInteger)section;
- (void)didSelectIndexPath:(NSIndexPath *)indexPath;
- (BOOL)isSelectIndexPath:(NSIndexPath *)indexPath;
@end

@interface HBCategoryItemModel : NSObject
@property (nonatomic, assign) NSInteger id;
@property (nonatomic, assign) NSInteger channel_id;
@property (nonatomic, assign) NSInteger lang_type;
@property (nonatomic, strong) NSString * title;
@end
NS_ASSUME_NONNULL_END
